<?php require_once './core/import.php';?>
<?php	
    #获取动作参数
    $Action=Functions::HttpArgs('action');
    if(empty($Action)){
        exit();
    }

    #解析类名
    $ClassName='Exec';
    {
        foreach(explode('_',$Action) as $Value){
            $ClassName=($ClassName.'_'.ucfirst($Value));
        }
    }
    $ClassName=rtrim($ClassName,'_');

    #执行程序
    if(@class_exists($ClassName)){
        new $ClassName();
    }
    else{
        header("HTTP/1.0 404 Not Found");
    }
?>
